package com.situ.spring.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;

import com.situ.spring.service.IBanjiService;

// 默认的名字
// @Controller("banjiController")
@Controller
public class BanjiController {
	@Autowired
	@Qualifier(value = "banjiServiceImpl")
	private IBanjiService banjiService;

	public void selectAll() {
		System.out.println("BanjiController.selectAll()");
		banjiService.selectAll();
	}
}
